home *** CD-ROM | disk | FTP | other *** search
Wrap
AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM)))) AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM)))) NNNNAAAAMMMMEEEE attrinit - Set file attributes SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS aaaattttttttrrrriiiinnnniiiitttt [----_o_p_t_i_o_n[====_v_a_l_u_e]]... [----_a_t_t_r====_v_a_l_u_e]... [_p_a_t_h]... DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN _a_t_t_r_i_n_i_t verifies or modifies the attributes associated with files. OOOOPPPPTTTTIIIIOOOONNNNSSSS ----vvvveeeerrrriiiiffffyyyy If _v_a_l_u_e is iiiinnnnssssttttaaaalllllllleeeedddd don't set the attributes, just report any differences between the attributes specified and those which are set for each of the specified _p_a_t_hs. Ignore _p_a_t_hs which do not exist. A _v_a_l_u_e of aaaallllllll differs only in that _p_a_t_hs which do not exist are reported. If _v_a_l_u_e is aaaallllssssoooo the attributes are set after they are checked. If this option is not specified the attributes are set. ----ssssccccrrrriiiipppptttt A script file named by _v_a_l_u_e is read for additional directives. Each line of the script file must have the form ----_a_t_t_r====_v_a_l_u_e... _p_a_t_h where valid _a_t_t_r and _v_a_l_u_es are described below. Any _a_t_t_r _v_a_l_u_es which are specified on the command line override those in the script. ----vvvveeeerrrrbbbboooosssseeee Keep a running count of the fraction of the operation which has completed. VVVVEEEERRRRIIIIFFFFIIIIAAAABBBBLLLLEEEE AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS These attributes may always be specified, but are only used for verification. They are never changed by _a_t_t_r_i_n_i_t. ----mmmmooooddddeeee _v_a_l_u_e specifies the file permission bits to look for. ----uuuusssseeeerrrr _v_a_l_u_e specifies the user name or numeric user id of the file's owner. ----ggggrrrroooouuuupppp _v_a_l_u_e specifies the group name or numeric group id of the file's owning group. ----ttttyyyyppppeeee Permitted _v_a_l_u_es are ddddiiiirrrreeeeccccttttoooorrrryyyy (also dddd) ttttrrrreeeeeeee (also tttt) mmmmoooollllddddyyyyttttrrrreeeeeeee (also mmmm) ffffiiiilllleeee (also ffff) ssssyyyymmmmlllliiiinnnnkkkk (also llll or lllliiiinnnnkkkk) ffffiiiiffffoooo (also pppp or PPPPaaaaggggeeee 1111 AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM)))) AAAATTTTTTTTRRRRIIIINNNNIIIITTTT((((1111MMMM)))) ppppiiiippppeeee) cccchhhhaaaarrrrddddeeeevvvv (also cccc or cccchhhhaaaarrrr) bbbblllloooocccckkkkddddeeeevvvv (also bbbb , bbbbllllkkkk or bbbblllloooocccckkkk) and ssssoooocccckkkkeeeetttt (also ssss) A special case is the _v_a_l_u_e ttttrrrreeeeeeee. If this is used the attribute and _v_a_l_u_e specified are applied to the tree rooted at _p_a_t_h. MMMMOOOODDDDIIIIFFFFIIIIAAAABBBBLLLLEEEE AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS These attributes may be specified for modification or verification. ----mmmmaaaacccc Set the mandatory access control ( MAC ) label to the specified _v_a_l_u_e. ----ccccaaaapppp Set the capabilities of the file to those listed in _v_a_l_u_e. ----aaaaccccllll Set the access control list of the file to the specified _v_a_l_u_e. ----aaaaccccllllddddeeeeffffaaaauuuulllltttt Set the default access control list of a directory to the specified _v_a_l_u_e. NNNNOOOOTTTTEEEESSSS In most cases, _c_h_a_c_l(1), _c_h_c_a_p(1), or _c_h_l_a_b_e_l(1) should be used in preference to _a_t_t_r_i_n_i_t. SSSSEEEEEEEE AAAALLLLSSSSOOOO _c_h_a_c_l(1) _c_h_c_a_p(1) _c_h_l_a_b_e_l(1) _I_R_I_X _A_d_v_a_n_c_e_d _S_i_t_e _a_n_d _S_e_r_v_e_r _A_d_m_i_n_i_s_t_r_a_t_i_o_n _G_u_i_d_e. PPPPaaaaggggeeee 2222